/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

/**
 *
 * @author user
 */
public class chatBean {
    /**
     *
     */
    private String _sender = null;

    /**
     *
     */
    private String _chat = null;

    /**
     *
     */
    private long _time = -1;

    /**
     *
     * @param sender
     * @param chat
     * @param time
     */
    public chatBean(String sender, String chat, long time) {
        this.setChat(chat);
        this.setSender(sender);
        this.setTime(time);
    }

    /**
     * @return the _sender
     */
    public String getSender() {
        return _sender;
    }

    /**
     * @param sender the _sender to set
     */
    public void setSender(String sender) {
        this._sender = sender;
    }

    /**
     * @return the _chat
     */
    public String getChat() {
        return _chat;
    }

    /**
     * @param chat the _chat to set
     */
    public void setChat(String chat) {
        this._chat = chat;
    }

    /**
     * @return the _time
     */
    public long getTime() {
        return _time;
    }

    /**
     * @param time the _time to set
     */
    public void setTime(long time) {
        this._time = time;
    }

    
}
